package com.hst.web.base.ui;

import java.sql.Timestamp;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TPersoneltransferInfo;
import com.hst.web.base.proxy.PersonReceiveProxy;

@EInfo(name = "person-itransfer-receive",title="人员转企业接收", entity = TPersoneltransferInfo.class,proxy=PersonReceiveProxy.class)
public class PersonReceive extends MetaData {
	
	@EField(name = "id", list = false, form = 0)
	private String id;

	@EField(name = "employeeCode",title="员工编号", form=0,list=false)
	private String employeeCode;
	
	@EField(mapped = false, name = "fullname", title = "姓名", form=3, query = FieldQuery.LIKE, validate = "required|max:100")
	private String fullname;
	
	@EField(name = "companycodeOld",title="原公司",form=3,editor="select.company-all",viewer="dict.company-all")
	private String companycodeOld;

	@EField(name = "contractorCodeOld",title="原承包商",form=0,list=false)
	private String contractorCodeOld;
	
	@EField(mapped = false, name= "contractorCodeOldName", list=false, title="原承包商",form=0)
	private String contractorCodeOldName;

	@EField(name = "deptCodeOld",title="原部门",form=3, editor="select.dept-all",viewer="dict.dept-all")
	private String deptCodeOld;

	@EField(name = "companyCode",title="转入公司",editor="select.company-all",viewer="dict.company-all",form=3)
	private String companyCode;

	@EField(name = "contractorCode",title="转入承包商",list=false,form=0)
	private String contractorCode;

	@EField(name = "deptCode",title="转入部门",editor="select.company-dept",viewer="dict.dept-all")
	private String deptCode;

	@EField(name = "transStatus",title="申请状态", form=3, editor="select.transStatus",viewer="dict.transStatus",query=FieldQuery.EQ)
	private String transStatus;

	@EField(name = "applyReason", title="申请说明", list=false, form=0, editor="textarea", validate = "required|max:500")
	private String applyReason;
	
	@EField(name = "refuseReason", title = "拒绝原因意见", editor="textarea")
	private String refuseReason;

	@EField(name = "acceptTime", title = "处理时间",form=0)
	private Timestamp acceptTime;

	@EField(name = "acceptUserid", title = "处理人", form=0, viewer="dict.user-all")
	private String acceptUserid;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getCompanycodeOld() {
		return companycodeOld;
	}

	public void setCompanycodeOld(String companycodeOld) {
		this.companycodeOld = companycodeOld;
	}

	public String getContractorCodeOld() {
		return contractorCodeOld;
	}

	public void setContractorCodeOld(String contractorCodeOld) {
		this.contractorCodeOld = contractorCodeOld;
	}

	public String getContractorCodeOldName() {
		return contractorCodeOldName;
	}

	public void setContractorCodeOldName(String contractorCodeOldName) {
		this.contractorCodeOldName = contractorCodeOldName;
	}

	public String getDeptCodeOld() {
		return deptCodeOld;
	}

	public void setDeptCodeOld(String deptCodeOld) {
		this.deptCodeOld = deptCodeOld;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getTransStatus() {
		return transStatus;
	}

	public void setTransStatus(String transStatus) {
		this.transStatus = transStatus;
	}

	public String getApplyReason() {
		return applyReason;
	}

	public void setApplyReason(String applyReason) {
		this.applyReason = applyReason;
	}

	public String getRefuseReason() {
		return refuseReason;
	}

	public void setRefuseReason(String refuseReason) {
		this.refuseReason = refuseReason;
	}

	public Timestamp getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(Timestamp acceptTime) {
		this.acceptTime = acceptTime;
	}

	public String getAcceptUserid() {
		return acceptUserid;
	}

	public void setAcceptUserid(String acceptUserid) {
		this.acceptUserid = acceptUserid;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}
	
}
